package everything.search;

import everything.WorldMap;

public class GreedySearchAgent extends SearchAgent {

	public GreedySearchAgent(String name, String color, int x, int y, WorldMap map) {
		super(name, color, x, y, map);
		_type = "greedySearchAgent";
	}

	/*
	 greedy agent will never take the flag, since the heuristic function wont consider the flag score
	 */

	@Override
	public int f(ASearchNode n){
		return h(n);
	}
}

